//
//  SkimWebViewController.m
//  FourthProject
//
//  Created by mac on 16/5/27.
//  Copyright © 2016年 cry. All rights reserved.
//

#import "SkimWebViewController.h"

@interface SkimWebViewController ()

@end

@implementation SkimWebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
    self.navigationController.navigationBarHidden = YES;
    
    
    [self.myWebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:self.http]]];
    
}



- (IBAction)backBtnClick:(id)sender {
    
    [self.navigationController popToRootViewControllerAnimated:YES];
}

- (IBAction)goBack:(id)sender {

    [self.myWebView goBack];
}

- (IBAction)goForward:(id)sender {

    [self.myWebView goForward];
}

- (IBAction)refreshButtonClick:(id)sender {
    
    [self.myWebView reload];
}



@end
